package com.ivy.irublesson.entity;

/**
 * Created by admin on 2018/1/9.
 */

public class Teacher {
    private int id;
    private String tname;
    private String tid;
    private int sid;

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public Teacher(){}
    public Teacher( String tname, String tid){
        this.tname = tname;
        this.tid = tid;
    }
    public Teacher(String tname ,String tid, int sid){
        this.tname = tname;
        this.tid = tid;
        this.sid = sid;
    }

    public void setId(int id) {
        this.id = id;
    }

    public void setTname(String tname) {
        this.tname = tname;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

    public int getId(){
        return id;
    }
    public String getTid() {
        return tid;
    }
    public String getTname() {
        return tname;
    }
}
